import request from '@/utils/request'

// 查询鉴定方案列表
export function listIdentification_plan(query) {
  return request({
    url: '/api/judicial/identification_plan/list',
    method: 'get',
    params: query
  })
}

// 查询鉴定方案详细
export function getIdentification_plan(id) {
  return request({
    url: '/api/judicial/identification_plan/' + id,
    method: 'get'
  })
}

// 新增鉴定方案
export function addIdentification_plan(data) {
  return request({
    url: '/api/judicial/identification_plan',
    method: 'post',
    data: data
  })
}

// 修改鉴定方案
export function updateIdentification_plan(data) {
  return request({
    url: '/api/judicial/identification_plan',
    method: 'put',
    data: data
  })
}

// 删除鉴定方案
export function delIdentification_plan(id) {
  return request({
    url: '/api/judicial/identification_plan/' + id,
    method: 'delete'
  })
}
